package com.sumainfor.pc.market.controller.tenant;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.market.service.tenant.PactAndHousingInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * <p>
 *
 * <p>
 *
 * @author: zhoucong
 * @create: 2019-04-05 17:14
 **/
@Controller
@RequestMapping("/tenant/key/pactAndHousingInfo")
public class PactAndHousingInfoController {

    @Autowired
    PactAndHousingInfoService pactAndHousingInfoService;

    @ResponseBody
    @GetMapping("/selectPaymentAndPact")
    public JsonResult selectPaymentAndPact(@RequestParam Map<String,Object> params){
        return pactAndHousingInfoService.selectPaymentAndPact(params);
    }
}
